<html>
<head>
    <!-- 引入bootstraptable需要的css和js -->
    <!-- css -->
    <!-- 需要依赖的bootstrap css -->
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- bootstrap table css -->
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-table/1.12.1/bootstrap-table.min.css">
    <!-- 数据导入 -->
    <link rel="stylesheet" href="/static/common/bootstrap-fileinput-master/css/fileinput.min.css">
    <!-- js -->
    <!-- 需要依赖jquery -->
    <script src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
    <!-- bootstrap table js -->
    <script src="/static/common/bootstrap/js/bootstrap-table.js"></script>
    <script src="/static/common/bootstrap/js/bootstrap-table-zh-CN.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <!-- 引入导出所需要的js -->
    <script src="/static/common/tableExport.jquery.plugin-master/tableExport.jquery.plugin-master/tableExport.js"></script>
    <!-- 数据导入 -->
    <script src="/static/common/bootstrap-fileinput-master/js/fileinput.min.js"></script>
    <script src="/static/common/bootstrap-fileinput-master/js/locales/zh.js"></script>
    <!-- 我的js -->
    <script src="/static/seller/seller.js"></script>
    <!-- 引入css -->
    <link rel="stylesheet" href="/static/common/css/common.css">
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-sm-12 col-md-12">
                <!-- 面包屑导航 -->
                <div class="navicate">
                    <ol class="breadcrumb">
                        <li id="source">资源管理</li>
                        <li id="pointer" style="float: right; cursor:pointer">我的关注</li>
                        <li id="exit" style="float: right; cursor:pointer"><a href="/user/logout.do">退出</a></li>
                    </ol>
                </div>

                <!-- 资源管理 -->
                <div id="mysource" class="mysource">
                    <div id="toolbar" class="btn-group">
                        <button id="btn_add" type="button" class="btn btn-default" data-toggle="modal" data-target="#myModal">
                            <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>新增
                        </button>
                        <button id="deletePros" type="button" class="btn btn-default">
                            <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
                        </button>
                    </div>
                    <div>
                        <!-- 表格数据显示 -->
                        <table id="tb_house"></table>
                    </div>
                </div>

                <!-- 我的关注 -->
                <div id="mypointer" class="mypointer">
                    <!-- 表格数据显示 -->
                    <table id="tb_attention"></table>
                </div>

                <!-- 资源上传 -->
                <!-- 添加模态框 start   添加商品-->
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog" style="width:900px;">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"
                                        aria-hidden="true">&times;</button>
                                <h4 class="modal-title" id="myModalLabel">新增商品房</h4>
                            </div>
                            <div class="modal-body" id="modal_body">
                                <form class="form-horizontal" role="form" method="post"
                                      id="addProForm" name="addProForm">
                                    <div class="form-group">

                                        <table class="table table-bordered" style="width:840px;margin-left:30px;
margin-right:30px;">
                                            <tr>
                                                <td><label style="color:red">*</label>城市</td>
                                                <td><label style="color:red">*</label>区</td>
                                                <td><label style="color:red">*</label>街道</td>
                                                <td><label style="color:red">*</label>价格</td>
                                                <td><label style="color:red">*</label>面积</td>
                                                <td><label style="color:red">*</label>联系电话</td>
                                            </tr>
                                            <tr>
                                                <td><input type="text" class="form-control" id="city" name="city"></td>
                                                <td><input type="text" class="form-control" id="area" name="area"></td>
                                                <td><input type="text" class="form-control" id="street" name="street"></td>
                                                <td><input type="text" class="form-control" id="price" name="price" onkeyup="value=value.replace(/[^\d.]/g,'')"></td>
                                                <td><input type="text" class="form-control" id="phone" name="phone" onkeyup='this.value=this.value.replace(/\D/gi,"")'></td>
                                                <td><input type="text" class="form-control" id="size" name="size" onkeyup='this.value=this.value.replace(/\D/gi,"")'></td>
                                            </tr>
                                        </table>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-xs-2 control-label"><font style="color:red">*</font>详情</label>
                                        <div class="col-xs-8">
								<textarea class="form-control" id="description"
                                          name="description" rows="4"></textarea>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-xs-2 control-label"><font style="color:red">*</font>图片上传</label>
                                        <div class="col-xs-4">
                                            <input id="inputfile" name="inputfile" type="file"
                                                   class="file-loading" data-show-upload="false"
                                                   data-show-caption="true">
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-primary" id="addProSubmit">添加</button>
                                </button>
                            </div>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                    <!-- /.modal -->
                </div>
                <!-- 模态框end -->

                <!-- 修改商品信息模态框 start   修改商品信息-->
                <div class="modal fade" id="editGoods" tabindex="-1" role="dialog"
                     aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog" style="width:900px;">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"
                                        aria-hidden="true">&times;</button>
                                <h4 class="modal-title" id="myModalLabel">修改商品信息</h4>
                            </div>
                            <div class="modal-body" id="modal_body">
                                <form class="form-horizontal" role="form" method="post"
                                      id="editProForm" name="editProForm">
                                    <div class="form-group">

                                        <table class="table table-bordered" style="width:840px;margin-left:30px;
margin-right:30px;">
                                            <tr>
                                                <td><label style="color:red">*</label>城市</td>
                                                <td><label style="color:red">*</label>区</td>
                                                <td><label style="color:red">*</label>街道</td>
                                                <td><label style="color:red">*</label>价格</td>
                                                <td><label style="color:red">*</label>联系电话</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <input type="hidden" id="eproId" name="eproId">
                                                    <input type="text" class="form-control" id="ecity" readonly="readonly"></td>
                                                <td><input type="text" class="form-control" id="earea" name="" readonly="readonly"></td>
                                                <td><input type="text" class="form-control" id="estreet" name="" readonly="readonly"></td>
                                                <td><input type="text" class="form-control" id="eprice" name="eprice" onkeyup="value=value.replace(/[^\d.]/g,'')"></td>
                                                <td><input type="text" class="form-control" id="ephone" name="ephone" onkeyup='this.value=this.value.replace(/\D/gi,"")'></td>
                                            </tr>
                                        </table>
                                    </div>
                                    <div class="form-group">

                                        <label class="col-xs-2 control-label">详情</label>
                                        <div class="col-xs-8">
								<textarea class="form-control" id="edescription"
                                          name="edescription" rows="4"></textarea>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-xs-2 control-label">图片上传</label>
                                        <div class="col-xs-4">
                                            <input id="einputfile" name="einputfile" type="file"
                                                   class="file-loading" data-show-upload="false"
                                                   data-show-caption="true">
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-primary" id="modifyGoodsSubmit">修改</button>
                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                                </button>
                            </div>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                    <!-- /.modal -->
                </div>
                <!-- 模态框end -->

            </div>
        </div>
    </div>
    <script type="text/javascript"
            src="/static/seller/seller.js"></script>
</body>
</html>